using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using NCS.Library;
using NCS.Library.Components.Security;
using NCS.Library.Utilities;
using NCS.Module.CMS.Library.Comments;

namespace Portal.Administrator.UserControls
{
    public partial class WelCome : AuthenticatedControl
	{
		protected void Page_Load(object sender, EventArgs e)
		{
            if(!IsPostBack)
            {
                lnkComment.Text = CommentDB.NumOfCommentByUserAndPortal(CurrentUser.UserID,ConvertUtility.ToInt32(AppEnv.PortalId())).ToString();
            }
		}
	}
}